#pragma once
#include "basegameobject.h"

class DrawObject :
	public BaseGameObject
{
public:
	DrawObject(void);
	virtual ~DrawObject(void);
	virtual bool	Render() = 0					{ return true;		}

	virtual bool	IsVisible()						{ return m_bVisible;}
	
	void			SetVisible( bool theStatus )	{ m_bVisible = theStatus; }

	void			SetDead()						{ m_bDead = true; }
	bool			IsDead()						{ return m_bDead;}

	class	hgeRect*	GetBox();

	float			GetYVel(){return m_fYVel;}
	float			GetXVel(){return m_fXVel;}

	void			SetPos(float theX, float theY) { m_fXPos = theX; m_fYPos = theY; }
	bool			OnGround(){return m_bOnGround;}

	void			SetOnGround(bool st ) { m_bOnGround = st; }




protected:
	bool				m_bVisible;
	float				m_fXPos, m_fYPos,m_fXVel,m_fYVel;
	bool				m_bDead;
	class hgeRect*		m_rBox;
	bool				m_bOnGround;



	
};
